package app.com.itcast.biyesheji.Bean;

import java.util.List;

public class MyBean {

    /**
     * msg : 成功
     * success : true
     * list : [{"id":1,"name":"苹果","text":"又甜又可口","price":12.2,"image":"/images/qz.jpeg","num":0},{"id":2,"name":"香蕉","text":"好吃","price":11.11,"image":"/images/qz.jpeg","num":0},{"id":3,"name":"水蜜桃","text":"可口","price":8.88,"image":"/images/qz.jpeg","num":0},{"id":4,"name":"菠萝","text":"特产","price":15.77,"image":"/images/qz.jpeg","num":0},{"id":5,"name":"哈密瓜","text":"甜甜的超好吃","price":17.22,"image":"/images/qz.jpeg","num":0},{"id":6,"name":"车厘子","text":"进口水果","price":14.23,"image":"/images/qz.jpeg","num":0}]
     */

    private String msg;
    private boolean success;
    /**
     * id : 1
     * name : 苹果
     * text : 又甜又可口
     * price : 12.2
     * image : /images/qz.jpeg
     * num : 0
     */

    private List<ListBean> list;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public List<ListBean> getList() {
        return list;
    }

    public void setList(List<ListBean> list) {
        this.list = list;
    }

    public static class ListBean {
        private int id;
        private String name;
        private String text;
        private double price;
        private String image;
        private int num;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getText() {
            return text;
        }

        public void setText(String text) {
            this.text = text;
        }

        public double getPrice() {
            return price;
        }

        public void setPrice(double price) {
            this.price = price;
        }

        public String getImage() {
            return image;
        }

        public void setImage(String image) {
            this.image = image;
        }

        public int getNum() {
            return num;
        }

        public void setNum(int num) {
            this.num = num;
        }
    }
}
